<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="../header.jsp">
<jsp:param value="学员修改>>部门更新" name="title"/>
</jsp:include>
<link rel="stylesheet" type="text/css" href="static/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="static/css/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/css/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="static/css/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/css/style.css" /> 
 <link href="static/css/bootstrap.min.css" rel="stylesheet">
    <link href="static/css/dashboard.css" rel="stylesheet">
<script type="text/javascript">
$(function() {
	$('.dropdown')
	  .dropdown({
	    // 你可以使用任何过渡
	    transition: 'drop'
	  });
});
</script>
</head>
<body>
	<jsp:include page="../dingheader.jsp" />
	<jsp:include page="../zuoheader.jsp" />
<div class="teacher-content">
		<form  method="post" action="student?method=updateStudent" class="ui form create-form">
		  <input type="hidden" name="id" value="${student.studentId}">		   
		  <div class="field">
		    <label>姓名</label>
		    <input type="text" name="name" value="${student.studentName}">
		  </div>
		   <div class="field">
		    <label>性别</label>
		    <input type="text" name="sex" value="${student.studentSex}">
		  </div>
		  <div class="field">
		    <label>QQ</label>
		    <input type="text" name="address" value="${student.studentQq}">
		  </div>
		    <div class="field">
		    <label>学历</label>
		    <input type="text" name="address" value="${student.studentRecode}">
		  </div>
		  <div class="field">
		    <label>地址</label>
		    <input type="text" name="address" value="${student.studentAddress}">
		  </div>
		   <div class="field">
		    <label>电话</label>
		    <input type="text" name="phone" value="${student.studentPhone}">
		  </div>
		  <div class="field">
		    <label>父母姓名</label>
		    <input type="text" name="email" value="${student.studentParent}">
		  </div>
		   <div class="field">
		    <label>父母电话</label>
		    <input type="text" name="email" value="${student.studentParentPhone}">
		  </div>
		   <div class="field">
		    <label>来源</label>
			<select name="source">
							<c:forEach items="${solist }" var="so">
									<option value="${so.sourceId}">${so.sourceName }</option>
							</c:forEach>
						</select>
		  </div>
		   <div class="field">
		    <label>兴趣程度</label>
		 <select name="interesting" >
						<c:forEach items="${inlist }" var="in">
								<option value="${in.interestingId}" } >${in.interestingName}</option>
						</c:forEach>
						</select>
		  </div>
		
		  <button class="ui button" type="submit">
			保存
		  </button>
		  <span>${error}</span>
		</form>
	</div>

</body>
</html>